﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>链接</title>
    <script type="text/javascript" src="../JS/Method.js" language="javascript"></script>
    <script type="text/javascript" src="../JS/Class.js" language="javascript"></script>
    <script type="text/javascript" src="../JS/Dialog.js" language="javascript"></script>
    <link href="../CSS/Design.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Dialog.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="divDialog" id="divDialog">
        <div class="divTitle" id="divTitle">
            <div id="title">链接</div>
            
            <div id="close" onclick="Dialog.Hide();">
            </div>
        </div>
        <div class="divMiddle" id="divMiddle">
            <div id="content" style="width: 95%;">
                <table class="dialogTable">
                    <tr>
                        <td style="width: 20%;">链接地址</td>
                        <td><input id="txtUrl" type="text" style="width: 300px;" value="http://" /></td>
                    </tr>
                    <tr>
                        <td>链接类型</td>
                        <td><select id="selType" style="width: 50%;" onchange="Dialog.LinkChangeType();">
                                <option>http://</option>
                                <option>https://</option>
                                <option>ftp://</option>
                                <option>news://</option>
                                <option>mailto://</option>
                            </select></td>
                    </tr>
                    <tr>
                        <td>打开窗口</td>
                        <td><select id="selOpen" style="width: 50%;">
                                <option value="_blank">新窗口</option>
                                <option value="_parent">父窗口</option>
                                <option value="_top">顶窗口</option>
                                <option value="_selft">本窗口</option>
                            </select></td>
                    </tr>
                    <tr>
                        <td>链接文字</td>
                        <td><input id="txtText" type="text" style="width: 300px;" /></td>
                    </tr>
                    <tr>
                        <td>链接说明</td>
                        <td><input id="txtTitle" type="text" style="width: 300px;" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="divBottom">
            <input type="button" id="btnSubmit" value="确 定" class="btn" onclick="Dialog.LinkOK();" />
            <input type="button" id="btnCancel" value="取 消" class="btn" onclick="Dialog.Hide();" />
        </div>
    </div>
</body>
</html>

<script type="text/javascript">
    Dialog.LinkText();
</script>

